package com.shuai.model.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 穿梭框视图
 *
 * @author shuai
 * @since 2022
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AllotDto {

    /**
     * key
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long key;

    /**
     * value
     */
    private String label;

    /**
     * coed
     */
    private String labelCode;


    /**
     * 是否可用
     */
    private boolean disabled;

}
